package com.oocl.ha.client.vo;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.oocl.ha.entity.Dish;

public class DishCache {
	private static DishCache dishCache;
	private Map<String, List<Dish>> dishs;
	
	public static synchronized DishCache getInstance(){
		if(dishCache==null){
			dishCache = new DishCache();
			dishCache.setDishs(new HashMap<String, List<Dish>>());
		}
		return dishCache;
	}

	public Map<String, List<Dish>> getDishs() {
		return dishs;
	}

	public void setDishs(Map<String, List<Dish>> dishs) {
		this.dishs = dishs;
	}
	
	
}
